package com.jt9003.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Price {

    private String registration_number;//挂号单号
    private Integer p_id;//患者ID
    private String p_name;//患者姓名
    private Integer p_age;//患者年龄
    private String p_gender;//患者性别
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date pre_open_date;//开方时间
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date r_time;//结算时间
    private Double pre_money;//收款金额
//    private Integer dr_amount;//处方份数
//  private String pre_consumption_real;//药品用量
    private String u_doctor_name;//就诊医生
    private String dictionary_data;//处方类型
    private String dr_name;//药品名

    public Price() {
    }

    public Price(String registration_number, Integer p_id, String p_name, Integer p_age, String p_gender, Date pre_open_date, Date r_time, Double pre_money, String u_doctor_name, String dictionary_data, String dr_name) {
        this.registration_number = registration_number;
        this.p_id = p_id;
        this.p_name = p_name;
        this.p_age = p_age;
        this.p_gender = p_gender;
        this.pre_open_date = pre_open_date;
        this.r_time = r_time;
        this.pre_money = pre_money;
        this.u_doctor_name = u_doctor_name;
        this.dictionary_data = dictionary_data;
        this.dr_name = dr_name;
    }

    public String getRegistration_number() {
        return registration_number;
    }

    public void setRegistration_number(String registration_number) {
        this.registration_number = registration_number;
    }

    public Integer getP_id() {
        return p_id;
    }

    public void setP_id(Integer p_id) {
        this.p_id = p_id;
    }

    public String getP_name() {
        return p_name;
    }

    public void setP_name(String p_name) {
        this.p_name = p_name;
    }

    public Integer getP_age() {
        return p_age;
    }

    public void setP_age(Integer p_age) {
        this.p_age = p_age;
    }

    public String getP_gender() {
        return p_gender;
    }

    public void setP_gender(String p_gender) {
        this.p_gender = p_gender;
    }

    public Date getPre_open_date() {
        return pre_open_date;
    }

    public void setPre_open_date(Date pre_open_date) {
        this.pre_open_date = pre_open_date;
    }

    public Date getR_time() {
        return r_time;
    }

    public void setR_time(Date r_time) {
        this.r_time = r_time;
    }

    public Double getPre_money() {
        return pre_money;
    }

    public void setPre_money(Double pre_money) {
        this.pre_money = pre_money;
    }

    public String getU_doctor_name() {
        return u_doctor_name;
    }

    public void setU_doctor_name(String u_doctor_name) {
        this.u_doctor_name = u_doctor_name;
    }

    public String getDictionary_data() {
        return dictionary_data;
    }

    public void setDictionary_data(String dictionary_data) {
        this.dictionary_data = dictionary_data;
    }

    public String getDr_name() {
        return dr_name;
    }

    public void setDr_name(String dr_name) {
        this.dr_name = dr_name;
    }
}